package com.online.pay.common.modle;

/**
 * 常量
 * @author Qiurz
 *
 */
public interface Contains {

	public static final String SUCC = "success";
	
	public static final String FAIL = "fail";
	
	public static final String UNKNOW = "unknow";
	/**
	 * 支付宝签名算法类型
	 */
	public static final String ALI_SIGN_TYPE = "RSA";
	/**
	 * 支付宝签名算法
	 */
	public static final String SIGN_ALGORITHMS = "SHA1withRsa";
	
	public static final String CHARSET = "UTF-8";
	
	public static final String SUCCESS = "10000"; // 支付成功
    public static final String PAYING = "10003"; // 用户支付中（等待用户付款）
    public static final String FAILED = "40004"; // 支付失败
    public static final String ERROR = "20000"; // 系统未知异常
	
	enum TradeStatus {
		SUCC,//支付成功
		FAIL,//支付失败
		UNKNOW//业务结果未知
	}
}
